Timeline Class Reference

#include <Timeline.h>

List of all members.

Public Member Functions

 Timeline ()
osg::Node * createScalarBar ()
osg::ref_ptr< osg::Group > getQuadGroup ()
osg::Node * getTimelineNode ()
void fillVerticesArray ()
void fillQuadsArray (int i)
osg::ref_ptr< osg::Group > createQuads ()
osg::Node * createLines ()

Private Attributes

osg::Group * timelineNode
osg::ref_ptr< osg::Group > quadGroup
int numOfPoints
int numOfIntervals
osg::Vec3Array * vertices
osg::Vec3 quads [4]


Detailed Description

TimeLine class. The frames of the TraffEdu system is hold here.


Constructor & Destructor Documentation

Timeline::Timeline (   ) 
 

A constructor. initializes private members calls createScalarBar and adds the returned node to the root calls createLines and adds the returned node to the root calls createQuads and adds the returned node to the root

See also:
createScalarBar()

createLines()

createQuads()


Member Function Documentation

osg::Node* Timeline::createLines (   ) 
 

a normal member.

Returns:
pointer to osg::Node. create quads.

osg::ref_ptr<osg::Group> Timeline::createQuads (   ) 
 

a normal member.

Returns:
osg::ref_ptr to osg::Group. returns node of the timeline.

osg::Node* Timeline::createScalarBar (   ) 
 

a normal member.

Returns:
pointer to osg::Node. creates a scalar bar

void Timeline::fillQuadsArray (  int  i  ) 
 

a normal member taking one argument.

Parameters:
i int fills quad array to draw quads .

void Timeline::fillVerticesArray (   ) 
 

a normal member. fills vertice array to draw vertices .

osg::ref_ptr<osg::Group> Timeline::getQuadGroup (   ) 
 

a normal member.

Returns:
osg::ref_ptr to osg::Group. returns a quad's Group

osg::Node* Timeline::getTimelineNode (   ) 
 

a normal member.

Returns:
pointer to osg::Node. returns node of the timeline.


Member Data Documentation

int Timeline::numOfIntervals [private]
 

int Timeline::numOfPoints [private]
 

osg::ref_ptr<osg::Group> Timeline::quadGroup [private]
 

osg::Vec3 Timeline::quads[4] [private]
 

osg::Group* Timeline::timelineNode [private]
 

osg::Vec3Array* Timeline::vertices [private]
 


The documentation for this class was generated from the following file:
Generated on Sun May 28 18:44:01 2006 by  doxygen 1.4.6-NO